<div class="navbar">
    <div class="logo">
        <img src="{{ asset('images/head-logo.png') }}" alt="">
    </div>
    <nav class="menu-list">
        <ul class="flex">
            <li>
                @if (Request::path() == '/')
                    <a href="/" class="menu-item menu-active">首页</a>
                @else
                    <a href="/" class="menu-item">首页</a>
                @endif
            </li>
            <li>
                @if (Request::path() == 'policy')
                    <a href="/policy"  class="menu-item menu-active">政策服务</a>
                @else
                    <a href="/policy"  class="menu-item">政策服务</a>
                @endif
                <ul class="sub-menu-list">
                    <li>
                        <a href="{{ route('policy.index') }}" class="sub-menu-item">政策扶持</a>
                    </li>
                    <li>
                        <a href="{{ route('policy.file') }}" class="sub-menu-item">政策文件</a>
                    </li>
                    <li>
                        <a href="{{ route('policy.interpretation') }}" class="sub-menu-item">政策解读</a>
                    </li>
                </ul>
            </li>
            <li>
                @if (Request::path() == 'financial')
                    <a href="/financial" class="menu-item menu-active">金融服务</a>
                @else
                    <a href="/financial" class="menu-item">金融服务</a>
                @endif
                <ul class="sub-menu-list">
                    <li>
                        <a href="{{ route('financial.index') }}" class="sub-menu-item">金融新闻</a>
                    </li>
                    <li>
                        <a href="{{ route('financial.guide') }}" class="sub-menu-item">投资指南</a>
                    </li>
                    {{-- <li>
                        <a href="" class="sub-menu-item">金融机构</a>
                    </li> --}}
                </ul>
            </li>
            <li>
                @if (Request::path() == 'legal')
                    <a href="/legal" class="menu-item menu-active">法律服务</a>
                @else
                    <a href="/legal" class="menu-item">法律服务</a>
                @endif
                <ul class="sub-menu-list">
                    <li>
                        <a href="{{ route('legal.index') }}" class="sub-menu-item">案例展示</a>
                    </li>
                    <li>
                        <a href="/legal/lawyer" class="sub-menu-item">律师咨询服务</a>
                    </li>
                </ul>
            </li>
            <li>
                @if (Request::path() == 'hub')
                    <a href="/hub" class="menu-item menu-active">创业园区</a>
                @else
                    <a href="/hub" class="menu-item">创业园区</a>
                @endif

                <ul class="sub-menu-list">
                    <li>
                        <a href="{{ route('hub.index') }}" class="sub-menu-item">园区简介</a>
                    </li>
                    <li>
                        <a href="{{ route('hub.rf') }}" class="sub-menu-item">入孵企业</a>
                    </li>
                    <li>
                        <a href="{{ route('hub.applay') }}" class="sub-menu-item">入孵申请</a>
                    </li>
                </ul>
            </li>
            <li>
                @if (Request::path() == 'training')
                    <a href="/training" class="menu-item menu-active">培训服务</a>
                @else
                    <a href="/training" class="menu-item">培训服务</a>
                @endif
                <ul class="sub-menu-list">
                    <li>
                        <a href="{{ route('training.index') }}" class="sub-menu-item">热门活动</a>
                    </li>
                    <li>
                        <a href="{{ route('training.online') }}" class="sub-menu-item">在线课堂</a>
                    </li>
                </ul>
            </li>
            <li>
                <a href="http://111.21.248.195:8181/" target="_blank" class="menu-item">知识产权平台</a>
            </li>
        </ul>
    </nav>
</div>
